package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.HolidayDTO;

public interface HolidayService {

    List<HolidayDTO> index(Searchable searchable);

    Page<HolidayDTO> search(Pageable pageable, Searchable searchable);

    HolidayDTO create(HolidayDTO dto);

    HolidayDTO update(Long id, HolidayDTO dto);

    HolidayDTO details(Long id);

    void delete(Long id);

    Workbook template();

    void upload(MultipartFile file);
}
